package com.zcccccy.rocketmq.consumer.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 消费者初始化 消费者连接信息
 * 
 * @projectName: zcccccy
 * @packageName: com.zcccccy.extend.rocketmq.consumer.model
 * @author: zcy
 * @createTime: 2024/1/27
 * @productName: For Mac IntelliJ IDEA
 */

@Data
@Component
@ConfigurationProperties(prefix = "rocketmq.consumer")
public class ConsumerProperties {

    /** Endpoints rocketMQ端点 */
    private String endpoints;

    /** 组名 */
    private String group;

    /** 主题 */
    private List<String> topicList;

}
